import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 导入element-ui并全局配置
import ElementUI from 'element-ui'
import locale from 'element-ui/lib/locale/lang/zh-CN'
import 'element-ui/lib/theme-chalk/index.css'

// 导入全局样式
import 'normalize.css'
import './assets/css/index.less'

Vue.use(ElementUI, { locale })
// 注册app实例
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
